var express = require('express');
var router = express.Router();
var user = require('../controllers/user')
var news = require('../controllers/news')
var match = require('../controllers/match')
var integral = require('../controllers/integral')

/* GET home page. */
router.get('/getUser', user.getUser)
router.post('/postLogin', user.postLogin)
router.get('/getHeadLineNews', news.getHeadLineNews)
router.get('/getFrenchArmourNews', news.getFrenchArmourNews)
router.get('/getPremierLeagueNews', news.getPremierLeagueNews)
router.get('/getLaLigaNews', news.getLaLigaNews)
router.get('/getSerieANews', news.getSerieANews)
router.get('/getTheBundesligaNews', news.getTheBundesligaNews)
router.get('/getHeadLineMatch', match.getHeadLineMatch)
router.get('/getPremierLeagueMatch', match.getPremierLeagueMatch)
router.get('/getLaLigaMatch', match.getLaLigaMatch)
router.get('/getFrenchArmourMatch', match.getFrenchArmourMatch)
router.get('/getSerieAMatch', match.getSerieAMatch)
router.get('/getTheBundesligaMatch', match.getTheBundesligaMatch)
router.get('/getTheBundesligaIntegral', integral.getTheBundesligaIntegral)
router.get('/getPremierLeagueIntegral', integral.getPremierLeagueIntegral)
router.get('/getLaLigaIntegral', integral.getLaLigaIntegral)
router.get('/getFrenchArmourIntegral', integral.getFrenchArmourIntegral)
router.get('/getSerieAIntegral', integral.getSerieAIntegral)


module.exports = router;